class SalaryList extends RankedList{
  SalaryList(String[] lines){
     super(teamcount,false);
     
     for(int i=0;i<teamCount;i++){
       String pieces[] = split(lines[i], TAB);
       
       // First Column is the temas2 or 3 digit code
       int index = teamIndex(pieces[0]);
       
       // Second column is the salary as a number
       value[index] = parseInt(pieces[1]);
       
       // Make the title in the format $NN, NNN, NNN.
       int salary = (int) value[index];
       title[index] = "$" + nfc(salary));
     }
     update();
  }
}
